package com.juefeng.pojo.base;

import java.io.Serializable;

public class BasePojo implements Serializable {

	private static final long serialVersionUID = 1L;
	
	/**
	 * 第几页
	 */
	private Integer page;
	/**
	 * 多少行
	 */
	private Integer rows;
	/**
	 * 总数
	 */
	private long total;
	/**
	 * 排序字段(大写英文)
	 */
	private String sortColumn;
	/**
	 * 排序方式<asc,desc>
	 */
	private String sortType;
	/**
	 * 是否是表格导出 :是.1 ;否  .null或0
	 */
	private Integer excel;
	
	
	
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getRows() {
		return rows;
	}
	public void setRows(Integer rows) {
		this.rows = rows;
	}
	public long getTotal() {
		return total;
	}
	public void setTotal(long total) {
		this.total = total;
	}
	public String getSortColumn() {
		return sortColumn;
	}
	public void setSortColumn(String sortColumn) {
		this.sortColumn = sortColumn;
	}
	public String getSortType() {
		return sortType;
	}
	public void setSortType(String sortType) {
		this.sortType = sortType;
	}
	public Integer getExcel() {
		return excel;
	}
	public void setExcel(Integer excel) {
		this.excel = excel;
	}
	@Override
	public String toString() {
		return "BasePojo [page=" + page + ", rows=" + rows + ", total=" + total
				+ ", sortColumn=" + sortColumn + ", sortType=" + sortType
				+ ", excel=" + excel + "]";
	}
	
	
	
}
